<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>axios</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.27.2/axios.min.js"></script>
</head>
<body>
    <script>
        async function main(){
            let res = await axios('http://api.xiaohigh.com/lol', {
                //配置对象
                params: {
                    a: 100
                }
            });
            console.log(res);
        } 
        main();
    </script>
</body>
</html>